package com.test.service.Impl;

import com.test.entitys.Book;
import com.test.mapper.BookMapper;
import com.test.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: 刘畅
 * @date: 2022/5/29
 * @Description: 图书
 */
@Service
public class BookServiceImpl implements BookService {
    @Autowired
    BookMapper mapper;
    @Override
    public Book getBookById(int bid) {
        return mapper.getBookById(bid);
    }
}
